import { JSONMapping } from "../json-mapping";
// import { UserDto } from "../dto/user.dto";
import {ObjectDto, ObjectDtoInterface} from "../../services/sqliteDB/object.dto";
import {SyncStatus} from "../sync-status";

export class CustomStorage extends JSONMapping implements ObjectDtoInterface {
    static PropertyKeyToJSONKeyMap() {
        return {};
    }
    public key: string = null;
    public value: string = null; // 编号
    public syncStatus: SyncStatus = SyncStatus.None;

    // bills: Array<Bill> = [];


    constructor(json: { [key: string]: any }) {
        super(json);
        CustomStorage.mapFromJSON(json, this);
    }
}

